package com.bx.mapper.impl;

import com.bx.mapper.UserMapper;
import com.bx.pojo.User;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Name UserMaperImpl
 * @Author BaiXin
 * @Date 2022-10-22 18:21
 */
@Service
public class UserMapperImpl implements UserMapper {
    @Override
    public List<User> findAll() {
        List<User> users = new ArrayList<>();
        users.add(new User(1,"姝姝",12));
        users.add(new User(2,"姝姝",12));
        users.add(new User(3,"姝姝",12));
        return users;
    }
}
